package com.ls.enums;
/**
 * <p>
 * 平台签名枚举类
 * </p>
 *
 * @author pengyu
 * @since 2020-05-25
 */
public enum SignEnum {
    SIGN_1(1,"乐信通"),
    SIGN_2(2,"智惠信使");
    public int num;
    public String sign;

    SignEnum(int num, String sign) {
        this.num = num;
        this.sign = sign;
    }
    public static String getSign(int num) {
        for (SignEnum enums : SignEnum.values()) {
            if (enums.num == num) {
                return enums.sign;
            }
        }
        return null;
    }
}
